#ifndef CLIENTCHOOSEDIALOG_H
#define CLIENTCHOOSEDIALOG_H

#include <QDialog>
#include "../../Headers/Classes/client.h"
#include "../../Headers/DataAccessors/clientdataaccessor.h"

namespace Ui {
    class ClientChooseDialog;
}

class ClientChooseDialog : public QDialog
{
    Q_OBJECT

    Client *currentClient;

public:
    explicit ClientChooseDialog(QWidget *parent = 0);
    ~ClientChooseDialog();

    Client * getCurrentClient();

    void Update();

private slots:
    void on_pushButton_3_clicked();

    void on_tableView_doubleClicked(const QModelIndex &index);

    void on_tableView_clicked(const QModelIndex &index);

private:
    Ui::ClientChooseDialog *ui;
};

#endif // CLIENTCHOOSEDIALOG_H
